package com.tianji.learning.mapper;

import com.tianji.learning.dto.UserCount;
import com.tianji.learning.entity.InteractionReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 互动问题的回答或评论 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2023-05-29
 */
public interface InteractionReplyMapper extends BaseMapper<InteractionReply> {
    /**
     * 每个回复的评论数
     * @return
     */
    List<UserCount> userCountLit(Boolean bool);
}
